import Vue from "vue";
import foot from "@/components/foot.vue";
import headerX from "@/components/vanheader.vue";
import nav from "@/components/nav.vue";



Vue.component("Foot", foot);
Vue.component("nav1", nav);
Vue.component("headerX", headerX);
console.log("加载成功");

import moment from "moment";

Vue.filter("dateFormat", (value, type) => {
  if (!value) return value;
  return moment(value * 1000).format(type);
});
